package com.hydl.power.mapper;


import com.hydl.power.pojo.MaintainerAndPowerroom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaintainerAndPowerroomMapper {

    List<MaintainerAndPowerroom> getList(String maintainerId);

    int batchMaintainerAndPowerroom(List<MaintainerAndPowerroom> maintainerAndPowerrooms);

    int deleteMaintainerAndPowerroom(@Param("maintainerId") String maintainerId, @Param("powerroomIds") String[] powerroomIds);

    int deleteByPrimaryKey(@Param("maintainerId") String maintainerId);
}